package com.vote.vote.domain;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (TbLunbo)表实体类
 *
 * @author makejava
 * @since 2023-10-01 12:56:53
 */
@SuppressWarnings("serial")
public class TbLunbo extends Model<TbLunbo> {
    //唯一标识
    private Integer id;
    //图片的地址
    private String img;
    //图片的title
    private String title;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

